<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
    <head>
        <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo (C("title")); ?></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="css/bootstrap-datepicker.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/common.css" rel="stylesheet">

    </head>
	<body class="module-<?php echo (MODULE_NAME); ?>">

<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container">
            <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>

            <a class="brand" href="<?php echo U('Index/index');?>">
                <img src="favicon.ico" class="logo" alt="logo">
                <?php echo (C("title")); ?>
            </a>

            <div class="btn-group pull-right">
                <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                    <i class="icon-user"></i>
                    <span class="user-name"><?php echo ($user["name"]); ?></span>
                    <span class="caret"></span>
                </a>
                <ul class="dropdown-menu">
                    <li>
                        <a href="<?php echo U('Index/setting');?>">
                            <i class="icon-cog"></i> 设置
                        </a>
                    </li>
                    <li>
                        <a href="<?php echo U('Logout/index');?>">
                            <i class="icon-signout"></i> 退出
                        </a>
                    </li>
                </ul>
            </div>

            <div class="nav-collapse collapse">
                <ul class="nav">
                <?php if(is_array($navs)): $i = 0; $__LIST__ = $navs;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i;?><li <?php if(MODULE_NAME == $nav['module']): ?>class="active"<?php endif; ?>>
                        <a href="<?php echo ($nav["url"]); ?>">
                            <?php if(isset($nav['icon'])): ?><i class="icon-<?php echo ($nav["icon"]); ?>"></i><?php endif; ?>
                            <?php echo ($nav["name"]); ?>
                        </a>
                    </li><?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div class="row-fluid">
        <div class="span2 sidebar">
            <ul class="nav nav-list">
<?php if(is_array($subnavs)): $i = 0; $__LIST__ = $subnavs;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$subnav): $mod = ($i % 2 );++$i;?><li <?php if(stristr($subnav['action'], ACTION_NAME)): ?>class="active"<?php endif; ?>>
        <a href="<?php echo ($subnav["url"]); ?>">
            <?php if(isset($subnav['icon'])): ?><i class="icon-<?php echo ($subnav["icon"]); ?>"></i><?php endif; ?>
            <?php echo ($subnav["name"]); ?>
        </a>
    </li><?php endforeach; endif; else: echo "" ;endif; ?>
</ul>

        </div>
        <div class="span10">
            <ul class="breadcrumb">
    <?php $end = count($breadcrumbs) - 1;?>
    <?php $__FOR_START_12758__=0;$__FOR_END_12758__=$end;for($i=$__FOR_START_12758__;$i < $__FOR_END_12758__;$i+=1){ ?><li>
        <a href="<?php echo ($breadcrumbs[$i]['url']); ?>"><?php echo ($breadcrumbs[$i]['name']); ?></a>
        <span class="divider">/</span>
    </li><?php } ?>
    <li class="active"><?php echo ($breadcrumbs[$i]['name']); ?></li>
</ul>

            <div class="form-horizontal well personal-info">
    <fieldset>
        <legend>基本信息</legend>
        <div class="control-group">
            <label class="control-label"><strong>姓名：</strong></label>
            <div class="controls">
                <p><?php echo ($member["name"]); ?></p>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>邮箱：</strong></label>
            <div class="controls">
                <p><?php echo ($member["email"]); ?></p>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>手机：</strong></label>
            <div class="controls">
                <p><?php echo ($member["phone"]); ?></p>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>QQ：</strong></label>
            <div class="controls">
                <p><?php echo ($member["qq"]); ?></p>
            </div>
        </div>
    </fieldset>

    <fieldset>
        <legend>网站信息</legend>
        <div class="control-group">
            <label class="control-label"><strong>届：</strong></label>
            <div class="controls">
                <p><?php echo ($member["session"]["name"]); ?></p>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>部门：</strong></label>
            <div class="controls">
                <p><?php echo ($member["department"]["name"]); ?></p>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>职位：</strong></label>
            <div class="controls">
                <p><?php echo ($member["post"]["name"]); ?></p>
            </div>
        </div>
    </fieldset>

    <fieldset>
        <legend>其他</legend>
        <div class="control-group">
            <label class="control-label"><strong>个人签名：</strong></label>
            <div class="controls">
                <p><?php echo ($member["signature"]); ?></p>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"><strong>角色：</strong></label>
            <div class="controls">
                <p><?php echo ($member["role"]["name"]); ?></p>
            </div>
        </div>
    </fieldset>
</div>

        </div>
    </div>
</div>
        <script src="js/jquery.min.js"></script>
<script src="js/jquery.form.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/bootstrap-datepicker.zh-CN.js"></script>
<script src="js/common.js"></script>

    </body>
</html>